home *** CD-ROM | disk | FTP | other *** search
- Path: inferno.mpx.com.au!jolt!nring
- From: nring@jolt.mpx.com.au (Nick Ring)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: printf in Arexx
- Date: 10 Jan 1996 21:40:25 GMT
- Organization: Microplex Pty Ltd
- Message-ID: <4d1bo9$rh6@inferno.mpx.com.au>
- References: <883.6577T1333T1011@mbox3.swipnet.se>
- NNTP-Posting-Host: jolt.mpx.com.au
- X-Newsreader: TIN [version 1.2 PL2]
-
- Roland Bengtsson (roland.bengtsson@mbox3.swipnet.se) wrote:
- : I wanted to make som ASCII-tables in Arexx, but I can't find any
- : function similar to printf() C. Any advice?
-
- : It maybe look like this:
-
- : 1 One 540 230 0.08
- : 2 Two -1942 2621
- : 3 Three 80 210 0.00
- : 4 Four 13522 1522 0.06
-
- To my knowledge, there is function in ARexx to do this. The only way for
- you to get this result, is to do it yourself. To make it worse, ARexx is
- dataless, which means that %f (float in C?) doesn't mean as they are all
- treated as strings of bytes (%s would most likely be the closest in C).
-
- hope this helps.
-
- nick
-
-